<?php

namespace addons\zzuser\controller\api;

use app\common\controller\Api;

class Logout extends Api
{
    protected $noNeedLogin = 'index';

    public function index()
    {
        $this->auth->logout();
        $this->success();
    }
}
